  .keyboard {
    display: block;
    width: 580px;
    height: 280px;
    position: relative;
    margin-left: 50px;
    margin-top: -25px;
    // left: 50%;
    transform: scale(0.8);
  }


  .button {
    position: absolute;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    font-size: 17px;
    white-space: nowrap;

    i {
      display: block;
      width: 52px;
      height: 52px;
      position: relative;
      border: 1px solid #000;
      border-radius: 50%;

      &:before,
      &:after {
        content: '';
        display: block;
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        border-radius: 50%;
        box-shadow: 0 5px 10px rgba(255, 255, 255, .8) inset;
      }

      &:after {
        box-shadow: 0 -5px 10px rgba(0, 0, 0, .8) inset;
      }

      &.active {
        &:before {
          box-shadow: 0 -3px 6px rgba(255, 255, 255, .6) inset;
        }

        &:after {
          box-shadow: 0 5px 5px rgba(0, 0, 0, .6) inset;
        }
      }
    }


    &.green i {
      background: linear-gradient(to top, #4bc441, #4bc441);
    }

    &.red i {
      background: linear-gradient(to top, #dc3333, #de0000);
    }

    &.blue i {
      background: linear-gradient(to top, #6e77ef, #4652f3);
    }

    &.b i {
      width: 160px;
      height: 160px;
    }

    &.r1,
    &.r2,
    &.r3,
    &.r4 {
      i {

        width: 100px;
        height: 100px;
      }

      em {
        display: block;
        border: 8px solid;
        border-color: transparent transparent #111;
        position: absolute;
        top: 50%;
        left: 50%;
        margin: -12px 0 0 -8px;
      }

      span {
        font-size: 20px;
      }

    }
  }

  .c1 {
    left: 12px;
  }

  .c2 {
    left: 112px;
  }

  .c3 {
    left: 212px;
  }

  .b {
    width: 160px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    left: 50px;
    margin-top: 100px;
    font-size: 22px;
  }

  .r1 {
    right: 80px;

    em {
      transform: translate(0px, 65px) scale(1, 2);
    }


    span {
      position: absolute;
      top: 5px;
      left: 102px;
    }
  }

  .r2 {
    margin-top: 100px;
    right: 170px;
    width: 100px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

    em {

      transform: translate(60px, -12px) rotate(270deg) scale(1, 2);

    }
  }

  .r3 {
    margin-top: 100px;
    right: -8px;
    width: 100px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

    em {

      transform: translate(-60px, -12px) rotate(90deg) scale(1, 2);

    }
  }

  .r4 {
    margin-top: 200px;
    right: 80px;

    span {
      position: absolute;
      top: 65px;
      left: -42px;
    }

    em {

      transform: translate(0px, -61px) rotate(180deg) scale(1, 2);
    }
  }

  // &.green i {
  //   background(#4bc441, #0ec400);
  // }

  // &.red i {
  //   background(#dc3333, #de0000);
  // }


  @media screen and (max-width:400px) {
    .keyboard {
      transform: scale(.6);
      position: absolute;
      left: -150px;
      top: 330px;
    }
  }

